package com.cn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cn.pojo.Adv;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AdvMapper extends BaseMapper<Adv> {
    List<Adv> selectAll(@Param("advTitle")String advTitle, @Param("statusId")Integer statusId, Page page);

    Integer getInsert(Adv adv);
}